using UnityEngine;
using System.Collections;

public class PlayerMotor : HumanoidMotor {

    protected override InputData GetInput()
    {
        inputData.vert          = Input.GetAxis("Vertical");
        inputData.horiz         = Input.GetAxis("Horizontal");

        inputData.isRun         = Input.GetKey(KeyCode.LeftShift);
        inputData.isJumped      = Input.GetKeyDown(KeyCode.Space);
        inputData.isSeat        = Input.GetKey(KeyCode.LeftControl);
        inputData.isSeatDown    = Input.GetKeyDown(KeyCode.LeftControl);
        inputData.isSeatUp      = Input.GetKeyUp(KeyCode.LeftControl);

        return inputData;
    }
}
